package com.dcxs.shop.module.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author zzh
 * @since 2020-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("js_product_order_detail")
public class JsProductOrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer  id;

    private String orderNumber;

    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 购买的数量
     */
    private Integer num;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 是否开启促销优惠 1：开启 0：不开启
     */
    private Boolean disState;

    /**
     * 促销价
     */
    private BigDecimal disPrice;

    /**
     * 总价
     */
    private BigDecimal totalPrice;

    private Integer  priceId;

    private Integer specificationId;

    private Integer orderId;

    private Integer supplierId;

    private String supplierName;

    private String priceType;

    private String specificationName;

    private String productName;

    private String productPic;

    private Integer isUse;

    private Integer shareUsrId;

    private String shareUsrPhone;

    private BigDecimal shippingPay;




}
